package com.wjm.blog.system.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import java.time.LocalDateTime;

/**
 * 登录日志信息表保存VO
 *
 * @author wjm
 * @version 1.0
 * @date 2023-10-18T14:34:39.148
 */
@Data
@ApiModel
public class SysLoginLogSaveVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotNull(message = "loginTime不能为空")
    @ApiModelProperty(value = "登录时间", required = true)
    private LocalDateTime loginTime;

    @NotNull(message = "loginStatus不能为空")
    @ApiModelProperty(value = "登录状态 0：失败 1：成功", required = true)
    private Integer loginStatus;

    @NotBlank(message = "client不能为空")
    @ApiModelProperty(value = "客户端", required = true)
    private String client;

}
